#pragma once
#include <iostream>
#include <functional>

using task_t = std::function<void()>; 

void DownLoad()
{
    std::cout << "this is the mission of Downloading "  << std::endl;
}

class task
{
public:
    task(){}

    task(int x, int y)
        :_x(x),
        _y(y),
        _result(0)
    {}

    int X() {return _x;}
    
    int Y() {return _y;}


    int Result(){return _x + _y;}

private:
    int _x;
    int _y;
    int _result;
};